package com.zc.service.impl;

import com.zc.property.SmsProperties;
import com.zc.service.SmsService;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @description:
 * @author: cong
 * @create: 2024/7/18
 */
@Data
@AllArgsConstructor
public class SmsServiceImpl implements SmsService {
    private SmsProperties smsProperties;
    @Override
    public void send(String phone, String msg) {
        System.out.println("登录key" + smsProperties.getKey() + "登录secret" + smsProperties.getSecret());
        System.out.println("发送短信给" + phone + "内容为" + msg);
    }
}
